// skeleton.js
import Vue from 'vue';
// 引入对应的骨架屏页面
import homeSkeleton from '@/views/homeSkeleton.vue';
import aboutSkeleton from '@/views/aboutSkeleton.vue';

export default new Vue({
  components: {
    homeSkeleton,
    aboutSkeleton,
  },
  template: `
    <div>
      <homeSkeleton id="homeSkeleton"  />
      <aboutSkeleton id="aboutSkeleton"  style="display:none;"/>
    </div>
  `,
});
